#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
    ui->lineEdit_name->setPlaceholderText("input you name");
    ui->lineEdit_name->setClearButtonEnabled(true);

    ui->lineEdit_phoneNumber->setPlaceholderText("input you phone number");
    ui->lineEdit_phoneNumber->setClearButtonEnabled(true);
    ui->lineEdit_phoneNumber->setInputMask("000-0000-0000");

    ui->lineEdit_password->setPlaceholderText("input you password");
    ui->lineEdit_password->setClearButtonEnabled(true);
    ui->lineEdit_password->setEchoMode(QLineEdit::Password);


}

Widget::~Widget()
{
    delete ui;
}


void Widget::on_pushButton_clicked()
{
    close();
}
